import request from '@/utils/request.js'

// 发表文章接口
export const pubArtAPI = (fd) => request.post('/my/article/add', fd)
// 获取文章列表
export const getArtListAPI = (obj) => request.get('/my/article/list', {
  params: obj
})
// 删除文章列表
export const deleteArtAPI = (id) => request.delete('/my/article/info', {
  params: { id }
})
